// Package user
/*
@Coding : utf-8
@Time : 2023/3/11 22:16
@Author : yizhigopher
@Software : GoLand
*/
package user

import (
	"ginchat/apis/api1_0/user"
	"github.com/gin-gonic/gin"
)

func InitUserResource(group *gin.RouterGroup) {
	routerGroup := group.Group("/user")
	routerGroup.POST("login", user.LoginHandler)
	routerGroup.POST("registration", user.RegisterHandler)
}
